/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Navbar */

.nav-container {
	width: 90%;
	display: flex;
	flex-wrap: wrap;
	color: white;
	justify-content: space-around ;
}

.logo {
	width: 60px;
	height: 60px;
}

.menu {
  list-style: none;
  gap: 20px;
	display: flex;
	color: white;
}

.menu {
  list-style: none;
  gap: 20px;
	display: flex;
	margin-left: auto;
	margin-right: 10px;
align-items: center; /* Centers vertically */
	color: white;}
.menu li a {color: white;
	text-decoration: none;
}
.menu li { 
  position: relative;
  cursor: pointer;
}

.menu .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  color: #00674F;
  list-style: none;
  padding: 10px 0;
  border-radius: 8px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.menu .dropdown-menu img {
	width: 50px; 
	display: flex;
	justify-content: center;
	align-items: center;
}

.menu .dropdown-menu li a {color: #00674F;}
.menu .dropdown-menu li {
	color: #00674F;
  padding: 10px 20px;
	white-space: nowrap;}

.menu .dropdown-menu li:hover {
	color: white;
  background-color: #e7f3ed;
}

.menu .dropdown:hover .dropdown-menu {
  display: block;
}

.navbar {
	 position: fixed;
  width: 100%;
  z-index: 3;
  display: flex;
  justify-content: space-around;
  background: #00674F;
	padding: 10px;
}


.social-icons img {
  width: 30px;
	height: 30px;
  margin-left: 10px;
	margin-right: 10px;
	margin-top: 15px;
}

.social-icons {
	justify-content:flex-end;
	align-items:flex-end;
}
.contact { bottom: 0;
	right: 0;
	position: fixed;
	z-index: 2;
	margin: 50px;
	
}

.contact img{ background-color: #25D366;
	border-radius: 50px;
	padding: 7px;
	width: 60px;
	align-content: center;}

.container {
    background-color: white;
    color: black;
    text-align: center; 
	padding-top: 150px;
	padding-bottom: 50px;
}

.container h1 {
    margin: 0;
    font-size: 2.5rem;
	color: #338572;
}

.container p {
    margin: 10px 0 0;
    font-size: 1.2rem;
	color: #000000;
}

main {
    padding: 40px 20px;
}

.team-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.team-row {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.category-title-container {
    background-color: #00674F;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    border-radius: 8px;
    margin: 20px 0;
}

.category-title {
    color: #fff;
    font-size: 1.8em;
    margin: 0;
}

.team-member {
    position: relative;
    width: 230px;
    height: 230px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}
.team-member:hover {
    transform: translateY(-10px);
}

.details {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: left;
    font-size: 1.0em;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.details h3 {
    margin: 0;
    font-size: 0.9em;
    font-weight: bold;
}

.team-member p {
    margin: 5px 0 0;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    /* Sesuaikan padding dalam main */
    main {
        padding: 20px 10px;
    }

    /* Tukar grid team-container kepada kolum untuk mobile */
    .team-container {
        gap: 30px;
    }

    /* Team row dalam satu lajur untuk mobile */
    .team-row {
        flex-direction: column;
        gap: 15px;
    }

    /* Team member kecil sedikit */
    .team-member {
        width: 180px;
        height: 180px;
    }

    /* Laraskan details untuk muat */
    .details {
        font-size: 0.85em;
        padding: 8px;
    }

    .details h3 {
        font-size: 0.9em;
    }

    .team-member p {
        font-size: 0.75rem;
    }
}


/* Footer */

.container4 { max-width: 2000px;
	margin:auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	
}

footer {
  background-color: #00674F; 
  color: white;
  padding: 20px 0;
}
.footer-left  {max-width: 500px;
	padding: 20px;
	
}
.footer-right {max-width: 500px; 
	flex-wrap: wrap;
	padding: 20px;
}

.footer-left img {width: 100px;
	height: 100px;
}
.footer-left h3 {margin-top: 20px;
}

.footer-right a { color: white; text-decoration: none; }

.footer-right a:hover { text-decoration: underline; }



.social-icons img { width: 30px; 
	height: 30px; 
}

.footer-center a { color: white; 
	text-decoration: none; 
	font-weight: bold; }
.footer-center {
	text-align: center;
	padding-bottom: 20px;
    border-bottom: 1px solid white;}
.footer-center a:hover { 
	text-decoration: underline; 
}

.copyright p {
    padding-top: 15px;
    text-align: center;
	align-content: center;
	font-size: 15px;
}